//
//  AppDelegate.swift
//  Weibo
//
//  Created by huangjunyang on 15/9/30.
//  Copyright © 2015年 hjy. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    
    
    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        
        
     window = UIWindow(frame: UIScreen.mainScreen().bounds)
    window?.backgroundColor = UIColor.whiteColor()

        window?.rootViewController = MainViewController()
        
    window?.makeKeyAndVisible()
        
        //设置统一的外观
        
        setUpappearance()
        
        
             
        return true
    }

    func setUpappearance() {
        
        UINavigationBar.appearance().tintColor = UIColor.orangeColor()
        UITabBar.appearance().tintColor = UIColor.orangeColor()
        
    }

}

